<script setup>
import {reactive, ref} from "vue";
import Child1 from "./Child1.vue";

let info = ref("Hello, Vue!")

let person = reactive(
    {
      name: "abc",
      age: 18,
      gender: "M"
    }
)

let {name, age, gender} = person

</script>

<template>
  <h1>这是 Parent1 父组件</h1>
  <child1 v-bind:info="info" v-bind:name="name" v-bind:age="age" v-bind:gender="gender"></child1>
</template>

<style scoped>

</style>